#ifndef _UIDEVICE_PRIVATE_H_
#define _UIDEVICE_PRIVATE_H_

#include <QThread>
#include <QFile>

class UIDeviceButtonThread : public QThread {
    Q_OBJECT

    public:
        UIDeviceButtonThread (const QString& device, int keyCode,
                              QObject *parent = 0);
        ~UIDeviceButtonThread();

    Q_SIGNALS:
        void pressed (int keyCode);

    protected:
        void run (void);

    private:
        QFile m_device;
        int m_keyCode;
};

#endif /* !_UIDEVICE_PRIVATE_H_ */

